﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace smforj.common.dao
{
    public interface BaseDao
    {
        /// <summary>
        /// 根据连接字符串获取
        /// </summary>
        /// <param name="str"></param>
        /// <returns></returns>
        string GetConnStr(string str);

        /// <summary>
        /// 获取连接字符串
        /// </summary>
        /// <param name="sIP"></param>
        /// <param name="sDbName"></param>
        /// <param name="sRoot"></param>
        /// <param name="sPsd"></param>
        /// <returns></returns>
        string GetConnStr(string sIP,string sDbName,string sRoot,string sPsd);
    }
}
